4.1 Discovering and Connecting to Neighbors  
  4.1.3 Implementation, monitoring, and maintenance of CDP  
The following commands are used to implement, monitor, and maintain CDP information:
  • cdp run
  • cdp enable
  • clear cdp counters
  • show cdp
  • show cdp entry {*|device-name[*][protocol | version]}
  • show cdp interface [type number]
  • show cdp neighbors [type number] [detail]

The cdp run command is used to enable CDP globally on the router. By default, CDP is globally enabled. The cdp enable command is used to enable CDP on a particular interface. On Cisco IOS Release 10.3 or higher, CDP is enabled by default on all supported interfaces to send and receive CDP information. CDP could be enabled on each of the devices interfaces by using the cdp enable command.

 

Lab Activity

e-Lab Activity: Implementation, Monitoring, and Maintenance of CDP

In this lab, the students will learn some commands associated with the Cisco Discovery Protocol (CDP) and learn to view some CDP information.

   
 

Web Links

CDP Commands

http://www.cisco.com/en/US/ products/sw/ iosswrel/ps1831/ products_command_ reference_ chapter09186a00800d983f.html